package com.wanyangproject.androidlearning.designMode.decorator;

public class Suger extends Derector {
    
    public Suger(Drink drink) {
        super(drink);
    }

    @Override
    public String getName() {
        return super.getName() + "+糖";
    }

    @Override
    public float getPrice() {
        return super.getPrice() + 1.0f;
    }
}
